﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Pipes.Queries.Model;

namespace Pipes.Queries.MetaData
{
  public class Column : IMetaObject
  {
    public GeneralDataType InferredType
    {
      get
      {
        if (this.Type == null) return GeneralDataType.unknown;
        return this.Type.InferredType;
      }
      set
      {
        // Do Nothing
      }
    }
    public string Name { get; set; }
    public IDataType Type { get; set; }
  }
}
